/*
 * alsymbian.h
 *
 *  Created on: 2010-11-21
 *      Author: terry
 */

#ifndef ALSYMBIAN_H_
#define ALSYMBIAN_H_

#define ALLEGRO_HAVE_LIBPTHREAD 1

AL_VAR(SYSTEM_DRIVER, system_symbian);
#define GFX_SYMBIAN                AL_ID('S','Y','M','B')
#define GFX_GDI                  AL_ID('G','D','I','B')

#define TIMERDRV_UNIX_PTHREADS	AL_ID('P','T','H','R')
#define TIMERDRV_UNIX_SIGALRM    AL_ID('A','L','R','M')

/*******************************************/
/************ keyboard drivers *************/
/*******************************************/
#define KEYBOARD_DIRECTX         AL_ID('D','X',' ',' ')
#define KEYDRV_SYMBIAN			AL_ID('S','Y','M','B')


AL_VAR(GFX_DRIVER, gfx_gdi);

#define GFX_DRIVER_SYMBIAN                                            \
   {  GFX_SYMBIAN,          &gfx_gdi,            TRUE  },

#ifdef ALLEGRO_HAVE_LIBPTHREAD
AL_VAR(TIMER_DRIVER, timerdrv_unix_pthreads);
#else
AL_VAR(TIMER_DRIVER, timerdrv_unix_sigalrm);
#endif

#endif /* ALSYMBIAN_H_ */
